package top.soulblack.purchasesale.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import top.soulblack.purchasesale.model.WechatTablePage;

import java.util.List;

@Mapper
@Component
public interface WechatTablePageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WechatTablePage record);

    WechatTablePage selectByPrimaryKey(Integer id);

    List<WechatTablePage> selectAll();

    int updateByPrimaryKey(WechatTablePage record);

    WechatTablePage selectPageByPriamryKey(Integer id);

    List<WechatTablePage> selectComponentByPid(Integer pid);
}